package com.ruoyi.controller;

import com.ruoyi.service.UtilsService;
import com.ruoyi.utils.SimpleResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/utils")
public class UtilsController {
    @Autowired
    private UtilsService utilsService;

    @PutMapping("/compare/resources/delete")
    public SimpleResult compareResourcesDelete() {
        String result = utilsService.compareResourcesDelete();
        return SimpleResult.success(result);
    }

}
